package com.doctcloud.datacloud.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.doctcloud.common.core.annotation.Excel;
import lombok.*;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode(of = {"itemClass","itemCode"})
@TableName("price_item_name_dict")
public class PriceItemNameDictEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @Excel(name = "项目分类代码")
    @NotBlank(message = "项目分类代码不得为空")
    private String itemClass;
    @Excel(name = "项目名称")
    @NotBlank(message = "项目名称不得为空")
    private String itemName;
    @Excel(name = "项目代码")
    @NotBlank(message = "项目代码不得为空")
    private String itemCode;
    @Excel(name = "输入码")
    private String inputCode;
}
